html [type="button"]{
  -webkit-appearance: none;
}

p{
  margin: 0;
}
.l-float {
  float: left;
}

.r-float {
  float: right;
}

.display-i-b {
  display: inline-block;
}

.position-r {
  position: relative;
}

.position-a {
  position: absolute;
}

.position-f {
  position: fixed;
}

.display-flex {
  display: flex;
}

.w-100 {
  width: 100%;
}

.h-100 {
  height: 100%;
}
.d-flex{
  display: flex;
}
.flex-1 {
  flex: 1;
}

.margin-t-10 {
  margin-top: 10px;
}

.margin-t-20 {
  margin-top: 20px;
}
.margin-b-5 {
  margin-bottom: 5px;
}
.margin-b-10 {
  margin-bottom: 10px;
}
.margin-b-20 {
  margin-bottom: 20px;
}
.margin-b-40 {
  margin-bottom: 40px;
}
.margin-t-5 {
  margin-top: 5px;
}
.margin-l-10 {
  margin-left: 10px;
}
.margin-l-20 {
  margin-left: 20px;
}

.margin-l-30 {
  margin-left: 30px;
}

.margin-r-20 {
  margin-right: 20px;
}

.padding-20 {
  padding: 20px;
}

.padding-t-20 {
  padding-top: 20px;
}

.padding-b-20 {
  padding-bottom: 20px;
}
.padding-l-10 {
  padding-left: 10px;
}
.padding-l-20 {
  padding-left: 20px;
}

.padding-r-20 {
  padding-right: 20px;
}

.text-center {
  text-align: center;
}

.font-bold {
  font-weight: bold;
}

.cursorPoint {
  cursor: pointer;
}

.red {
  color: #ff0000;
}
.black {
  color: #000;
}
.white {
  color: #fff;
}
.small-font {
  font-size: 12px;
}
.center-flex {
  display: flex;
  justify-content: center;
  align-items: center;
}
.ell {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.nbcs-btn {
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  background-image: none;
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1.5;
  height: 34px;
  padding: 0 16px;
  font-size: 14px !important;
  border-radius: 4px;
  i {
    font-size: @subFontSize;
  }
}
.nbcs-btn-common {
  height: 34px;
  font-size: @mainFontSize;
  color: #151414 !important;
  background-color: @white !important;
  border-color: #dee0e6 !important;

  &:hover {
    background-color: @white !important;
    border-color: #c9c9c9 !important;
  }
}
.nbcs-btn-main {
  color: #0CA16C !important;
  background-color: #fff !important;
  border-color: #0CA16C !important;

  &:hover {
    background-color: #fff !important;
    border-color: #0CA16C !important;
  }
}
.nbcs-btn-primary {
  color: @white !important;
  background-color: @primary-color !important;
  border-color: @primary-color !important;

  &:hover {
    background-color: @primaryHoverColor !important;
    border-color: @primaryHoverColor !important;
  }
}

.nbcs-btn-gray {
  color: @grayColor !important;
  background-color: @grayBgColor !important;
  border-color: @grayBorderColor !important;

  &:hover {
    background-color: @grayBgHoverColor !important;
    border-color: @grayBorderHoverColor !important;
  }
}
.nbcs-btn-green-bg {
  color: #fff !important;
  background-color: #0CA16C !important;
  border-color: #0CA16C !important;

  &:hover {
    background-color: #0CA16C !important;
    border-color: #0CA16C !important;
  }
}
.nbcs-btn-main-bg {
  height: 34px;
  font-size: @mainFontSize;
  color: #fff !important;
  background: linear-gradient(328deg, #CC3232 0%, #ED5050 100%) !important;
  border: 0 !important;
  &:hover {
    background: linear-gradient(328deg, #CC3232 0%, #ED5050 100%) !important;
    border: 0 !important;
  }
}
.nbcs-btn-search {
  color: #EC4F4F !important;
  background-color: #FCEDED !important;
  border-color: #E14646 !important;
  height: 34px;
  font-size: @mainFontSize;
  &:hover {
    border-color: #EC4F4F !important;
  }
}
.nbcs-btn-green {
  color: @greenBgColor !important;
  background-color: #ffffff !important;
  border-color: @greenBorderColor !important;
  &:hover {
    background-color: #ffffff !important;
    border-color: @greenBorderHoverColor !important;
  }
}

.nbcs-btn-default {
  height: 34px;
  font-size: @mainFontSize;
  color: @defaultBtnColor !important;
  background-color: @defaultBtnBgColor !important;
  border-color: @defaultBtnBorderColor !important;
  &:hover {
    background-color: @defaultBtnBgHoverColor !important;
    border-color: @defaultBtnBorderHoverColor !important;
  }
}

.nbcs-btn-danger {
  color: @white !important;
  background-color: @dangerColor !important;
  border-color: @dangerColor !important;

  &:hover {
    background-color: @dangerHoverColor !important;
    border-color: @dangerHoverColor !important;
  }
}

.nbcs-btn-security {
  color: (@white) !important;
  background-color: (@securityColor) !important;
  border-color: (@securityColor) !important;

  &:hover {
    background-color: (@securityHoverColor) !important;
    border-color: (@securityHoverColor) !important;
  }
}

.drawer-bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  border-top: 1px solid @grayBgColor;
  padding: 15px 20px;
  background: @white;
  text-align: right;
  z-index: 1;
}

.ant-drawer-body {
  padding: 16px 20px;
}

._form {
  .ant-form-item-label > label {
    font-size: @mainFontSize;
    font-weight: bold;
    color: @mainFontColor !important;
  }

  .ant-form-item {
    margin-bottom: 6px !important;
  }
}

.table-primary-btn {
  color: @primary-color;

  &:hover {
    color: @primary-color;
  }
}

.table-red-btn {
  color: @red;

  &:hover {
    color: @red;
  }
}

.table-green-btn {
  color: @green;

  &:hover {
    color: @green;
  }
}

.table-gray-btn {
  color: @gray;

  &:hover {
    color: @gray;
  }
}

//表格高度
// .table-page {
//   .ant-table-wrapper {
//     height: calc(100% - 70px);
//   }
// }

.ant-form-item-label {
  height: 30px;
}

.tag-red {
  color: #fa541c !important;
  background: #fff2e8 !important;
  border-color: #ffbb96;
}

.tag-green {
  color: #52c41a !important;
  background: #f6ffed !important;
  border-color: #b7eb8f;
}

.tag-blue {
  color: #1890ff !important;
  background: #e6f7ff !important;
  border-color: #91d5ff;
}

.card-shadow {
  box-shadow: 0 0 10px 0 @grayBorderColor !important;
  border-radius: 0;
}

.has-error {
  .ant-form-explain {
    font-size: @mainFontSize;
  }
}

.mainFontSize {
  font-size: 13px;
}

.primaryColor {
  color: @primaryColor;
}

.popconfirmBtnBox {
  width: 102px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  margin-top: 5px;

  i {
    margin-left: -5px;
  }

  .popconfirmBtn {
    margin-left: 8px;
    color: #ffffff;
    font-size: 13px;
  }
}

.videoBox {
  margin: 0 auto;
  width: 100%;
  height: 240px;
  background-color: #eaeaea;
  text-align: center;
  display: flex;
  justify-content: center;
}

.smallFontSize {
  font-size: @smallFontSize;
}

.myBadge {
  background-color: red;
  width: 35px;
  height: 20px;
  border-radius: 20px;
  color: #fff;
  display: inline-block;
  line-height: 22px;
  font-size: @smallFontSize;
  text-align: center;
}

.myBadgePoint {
  background-color: red;
  width: 5px;
  height: 5px;
  border-radius: 5px;
  display: inline-block;
  line-height: 5px;
}

//flex布局，固定顶部、底部，中间滚动
.flex-container {
  display: flex;
  flex-direction: column;
  height: calc(100% - 10px);
}
.flex-header {
  width: 100%;
}
.flex-body {
  flex: 1; // 填充剩余空间
  width: 100%;
  //overflow-y: scroll;// 超出部分滚动
}
.flex-footer {
  width: 100%;
}
.iconfont {
  font-family:"iconfont" !important;
  font-size:16px;
  font-style:normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke-width: 0.2px;
  -moz-osx-font-smoothing: grayscale;
}
.column{
  display: flex;
  flex-direction: column;
}
.labelParent {
  display: flex;
  flex-wrap: wrap;
  & > div {
    border-radius: 4px;
    padding: 3px 6px;
    font-size: 13px;
    cursor: pointer;
    margin-right: 6px;
    margin-bottom: 4px;
    &:first-child {
      border: 1px solid #000;
      color: #000;
      &.active {
        background-color: #2B65F4;
        color: #fff;
        border: 1px solid #2B65F4;
      }
    }
  }
}
.labelChildren {
  display: flex;
  flex-wrap: wrap;
  // margin-top: 6px;
  & > div {
    border-radius: 12px;
    padding: 3px 6px;
    font-size: 12px;
    margin-right: 4px;
    margin-bottom: 4px;
  }
}
.labelItem{
  border: 1px solid #2B65F4;
  background-color: #F0F4F9;
  color: #2B65F4;
  &.cbz {
    border: 1px solid #46B1FF;
    background-color: rgba(70, 177, 255, 0.1);
    color: #46B1FF;
  }
  &.ysxt {
    border: 1px solid #E05F5F;
    background-color: rgba(224, 95, 95, 0.1);
    color: #E05F5F;
  }
  &.mgxx {
    border: 1px solid #EBC643;
    background-color: rgba(235, 198, 67, 0.1);
    color: #EBC643;
  }
  &.scsh {
    border: 1px solid #17805A;
    background-color: rgba(23, 128, 90, 0.1);
    color: #17805A;
  }
  &.flfg {
    border: 1px solid #36CDCD;
    background-color: rgba(54, 205, 205, 0.1);
    color: #36CDCD;
  }
  &.grxx {
    border: 1px solid #FA906C;
    background-color: rgba(250, 144, 108, 0.1);
    color: #FA906C;
  }
  &.kjmc {
    border: 1px solid #7A53E5;
    background-color: rgba(122, 83, 229, 0.1);
    color: #7A53E5;
  }
  &.zdyc {
    border: 1px solid #78B45C;
    background-color: rgba(120, 180, 92, 0.1);
    color: #78B45C;
  }
  &.qtmgxx {
    border: 1px solid #FA8701;
    background-color: rgba(250, 135, 1, 0.1);
    color: #FA8701;
  }
}
.cbz {
  &.active {
    background-color: #46B1FF;
    color: #fff;
    border: 1px solid #46B1FF;
  }
}
.ysxt {
  &.active {
    background-color: #E05F5F;
    color: #fff;
    border: 1px solid #E05F5F;
  }
}
.mgxx {
  &.active {
    background-color: #EBC643;
    color: #fff;
    border: 1px solid #EBC643;
  }
}
.scsh {
  &.active {
    background-color: #17805A;
    color: #fff;
    border: 1px solid #17805A;
  }
}
.flfg {
  &.active {
    background-color: #36CDCD;
    color: #fff;
    border: 1px solid #36CDCD;
  }
}
.grxx {
  &.active {
    background-color: #FA906C;
    color: #fff;
    border: 1px solid #FA906C;
  }
}
.kjmc {
  &.active {
    background-color: #7A53E5;
    color: #fff;
    border: 1px solid #7A53E5;
  }
}
.zdyc {
  &.active {
    background-color: #78B45C;
    color: #fff;
    border: 1px solid #78B45C;
  }
}
.qtmgxx {
  &.active {
    background-color: #FA8701;
    color: #fff;
    border: 1px solid #FA8701;
  }
}
.wordActive{
  background-color: #3aa8fe !important;
  border: 2px solid #3aa8fe;
}
.highlight.active{
  background-color: #3aa8fe !important;
}